package evo.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserController {

    @RequestMapping(value = "/inline")
    public ModelAndView inline(){
        ModelAndView mv = new ModelAndView();
        mv.addObject("data","SpringBoot");
        mv.setViewName("inline");
        return mv;
    }
}
